class CreateMembers < ActiveRecord::Migration
  def self.up
    create_table :members do |t|
      t.column :name, :string
      t.column :group_id, :integer
      t.column :mobile, :string
      t.column :age, :integer
      t.column :email, :string
      t.column :msn_qq, :string
      t.column :believed, :boolean
      t.column :baptised, :boolean
      t.column :profession, :string
      t.column :joined_at, :date
    end
  end

  def self.down
    drop_table :members
  end
end
